// import { createApp } from "vue";
// import App from "./App.vue";
// import ArcoVue from "@arco-design/web-vue";
// import "@arco-design/web-vue/dist/arco.css";
// import router from "./router";
// import store from "./store";
// import "@/plugins/axios";
// import "@/access";
// import "bytemd/dist/index.css";
// // main.ts
// import IconUser from "./components/IconUser.vue";
// import IconIdcard from "./components/IconIdcard.vue";
// import IconPoweroff from "./components/IconPoweroff.vue";
//
// const app = createApp(App);
//
// app.component("IconUser", IconUser);
// app.component("IconIdcard", IconIdcard);
// app.component("IconPoweroff", IconPoweroff);
// app.component("IconUser", IconUser);
//
// app.mount("#app");
//
// createApp(App).use(ArcoVue).use(store).use(router).mount("#app");
import { createApp } from "vue";
import App from "./App.vue";
import ArcoVue from "@arco-design/web-vue";
import "@arco-design/web-vue/dist/arco.css";
import router from "./router";
import store from "./store";
import "@/plugins/axios";
import "@/access";
import "bytemd/dist/index.css";
import IconUser from "./components/IconUser.vue";
import IconIdcard from "./components/IconIdcard.vue";
import IconPoweroff from "./components/IconPoweroff.vue";

const app = createApp(App);

// 注册全局组件
// app.component("IconUser", IconUser);
// app.component("IconIdcard", IconIdcard);
// app.component("IconPoweroff", IconPoweroff);

// 使用插件
app.use(ArcoVue);
app.use(store);
app.use(router);

// 挂载应用
app.mount("#app");
